home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 06 - 1990 / 06.07 Jul 90 / Commando Programming ƒ / Rezscripts / RezC.SIZE.Cmdo.R < prev    next >
Encoding:
Text File  |  1988-07-03  |  3.0 KB  |  112 lines  |  [TEXT/MPS ]

  1. /* File RezC.SIZE.Cmdo.R */
  2. /* Rez input for the Rezc.SIZE Commando interface */
  3. /* W. Powell 1988 */
  4.  
  5. /* Rez definitions for Rez-building Commando interfaces */
  6. #include "Cmdo.R"
  7.  
  8. Resource 'cmdo' (200) {
  9.     { 280,
  10.     "Rezc.SIZE produces Rez input for a SIZE resource.\nSIZE "
  11.     "-1 is used by MultiFinder/Switcher.",
  12.     {
  13. /* This include file has a standard arrangement of items
  14.  *   common to all resources: ID#, attributes, name, 
  15.  *      and redirection of output from the Rezc.≈ script        */
  16. #include "CmdoReztStart.R"
  17.  
  18.     /* Item 6 */
  19.     OR {{1}}, RegularEntry {
  20.         "Preferred Kb",
  21.         {120,30,136,150},
  22.         {120,155,136,220},
  23.         "",keepCase,"",
  24.         "Best memory size for program.\nNOTE: Excludes the "
  25.         "32K Switcher overhead." },
  26.     /* Item 7 */
  27.     OR {{1}}, RegularEntry {
  28.         "Minimum Kb",
  29.         {151,30,167,150},
  30.         {151,155,167,220},
  31.         "",keepCase,"",
  32.         "Minimum memory size for program.\nNOTE: Excludes the "
  33.         "32K Switcher overhead." },
  34.     /* Item 8 */
  35.     OR {{1}}, CheckOption {
  36.         Set,{93,30,109,135},
  37.         "MultiFinder","","Set up for MultiFinder." },
  38.     /* Item 9 */
  39.     OR {{1}}, CheckOption {
  40.         NotSet,{93,140,109,220},
  41.         "Switcher","","Set up for Switcher." },
  42.     /* Item 10 */
  43.     OR {{8,9}}, Dummy {},
  44.     /* Item 11 */
  45.     OR {{9}}, CheckOption {
  46.         NotSet, {80,260,96,465},
  47.         "Save Screen","saveScreen",
  48.         "Save screen contents before switching to minimize "
  49.         "waiting for window updates." },
  50.     /* Item 12 */
  51.     OR {{-11}}, RadioButtons {{
  52.         {40,1000,41,1001},
  53.         "","dontSaveScreen",NotSet,"" }},
  54.     /* Item 13 */
  55.     OR {{8,9}}, CheckOption {
  56.         NotSet, {96,260,112,465},
  57.         "Accept Suspend/Resume","acceptSuspendResumeEvents",
  58.         "Program accepts and uses Suspend/Resume events to "
  59.         "prepare for switching." },
  60.     /* Item 14 */
  61.     OR {{-13}}, RadioButtons {{
  62.         {40,1000,41,1001},
  63.         "","ignoreSuspendResumeEvents",NotSet, "" }},
  64.     /* Item 15 */
  65.     OR {{9}}, CheckOption {
  66.         NotSet,{112,260,128,465},
  67.         "Enable Option Switch","enableOptionSwitch",
  68.         "Flag not defined in Inside Switcher document" },
  69.     /* Item 16 */
  70.     OR {{-15}}, RadioButtons { {
  71.         {40,1000,41,1001},
  72.         "","disableOptionSwitch",NotSet, "" }},
  73.     /* Item 17 */
  74.     OR {{8}}, CheckOption {
  75.         NotSet, {128,260,144,465},
  76.         "Works in Background","canBackground",
  77.         "Program performs some tasks in background, so "
  78.         "needs background null events." },
  79.     /* Item 18 */
  80.     OR {{-17}}, RadioButtons { {
  81.         {40,1000,41,1001},
  82.         "","cannotBackground",NotSet, "" }},
  83.     /* Item 19 */
  84.     OR {{8}}, CheckOption {
  85.         NotSet, {144,260,161,465},
  86.         "MultiFinder Aware","doOwnActivate",
  87.         "Program activates/deactivates windows for switching "
  88.         "when suspend/resume events have been received.  "
  89.         "Otherwise, will use Switcher-style DA scrap coercion."
  90.         },
  91.     /* Item 20 */
  92.     OR {{-19}}, RadioButtons { {
  93.         {40,1000, 41,1001},
  94.         "","dontDoOwnActivate",NotSet, "" }},
  95.     /* Item 21 */
  96.     AND {{6,7,10}}, DoItButton {}, 
  97.     /* Item 22 */
  98.     NotDependent {}, TextBox {
  99.         gray, {85,25,112,225},
  100.         "Set for…" }, 
  101.         
  102.     }, 
  103. /* Dialog 2 */
  104. /* Include the standard resource attributes dialog */
  105. #include "CmdoReztAttr.R"
  106.  
  107. /* Dialog 3 */
  108. /* Include a redirection dialog */
  109. #include "CmdoReztRdir.R"
  110.  
  111. }
  112. };